import { createRouter, createWebHistory } from 'vue-router'


const routes = [
  {path: '/', component: () => import('../views/IndexView')},
  {path: '/student-login', component: () => import('../views/StudentLoginView')},
  {path: '/employer-login', component: () => import('../views/EmployerLoginView')},
    {path: '/student-view', component: () => import('../views/student/StudentView')},
    {path: '/employer-view', component: () => import('../views/employer/EmployerView')},
    {path: '/student-register', component: () => import('../views/StudentRegisterView')},
    {path: '/employer-register', component: () => import('../views/EmployerRegisterView')},
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
